package org.seedltd.upms.model.detection.form;

import java.util.Set;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import lombok.Getter;
import lombok.Setter;

/**
 * 批量投递对象
 * 
 * @author laizuan
 * @version 1.0
 * @since 2021/9/2 16:35
 */
@Getter
@Setter
public class DetectionOrderDeliverForm {

    /**
     * 需要投递的订单主键
     */
    @Size(message = "请至少选择一个订单进行投递", min = 1)
    private Set<Long> orderIdList;

    /**
     * 回收箱编号
     */
    @NotBlank(message = "请重新使用微信扫一扫回收箱上的二维码")
    private String codeNo;
}
